maven设置
<!-- hot swapping, disable cache for template, enable live reload -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
spring设置
然后在application.propeties
中添加spring.thymeleaf.cache = false
Intellij idea中的设置
File –> Setting –> Build, Execution, Deployment –> Compiler –>
check this Build project automatically
Press SHIFT+CTRL+A (Win/Lin) or Command+CTRL+A (Mac) to open a pop-up windows, type
registry
Find and check this option
compiler.automake.allow.when.app.running
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。